package com.ossjk.qlh.tgb.service.impl;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ossjk.qlh.tgb.entity.RetailUser;
import com.ossjk.qlh.tgb.mapper.RetailUserMapper;
import com.ossjk.qlh.tgb.service.IRetailUserService;
import com.ossjk.qlh.tgb.vo.RetailUserVo;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @ClassName RetailUserServiceImpl
 * @Description 用户商户管理
 * @Author Jasper
 * @Date 2022/1/18 15:53
 */
@Service
public class RetailUserServiceImpl extends ServiceImpl<RetailUserMapper, RetailUser> implements IRetailUserService {

    @Override
    public Page pageVo(Page page, Wrapper wrapper) {
        return this.baseMapper.selectPageVo(page, wrapper);
    }

    @Override
    public RetailUserVo toVerifybyId(String userId) {
        return this.baseMapper.selectToVerify(userId);
    }

    @Override
    public List<RetailUser> getBusinessList() {
        return this.baseMapper.getBusinessList();
    }
}
